home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source text
| default
| |
98%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 74 6c 69 6e 65 2d 66 64 |Path: ne|tline-fd|
|00000010| 64 69 2e 6a 70 6c 2e 6e | 61 73 61 2e 67 6f 76 21 |di.jpl.n|asa.gov!|
|00000020| 75 73 65 6e 65 74 0a 46 | 72 6f 6d 3a 20 6b 64 71 |usenet.F|rom: kdq|
|00000030| 40 65 6d 6f 72 79 69 2e | 6a 70 6c 2e 6e 61 73 61 |@emoryi.|jpl.nasa|
|00000040| 2e 67 6f 76 20 28 4b 65 | 76 69 6e 20 51 75 69 74 |.gov (Ke|vin Quit|
|00000050| 74 29 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |t).Newsg|roups: c|
|00000060| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 0a 53 75 62 6a 65 |omp.lang|.c.Subje|
|00000070| 63 74 3a 20 52 65 3a 20 | 45 78 61 6d 70 6c 65 73 |ct: Re: |Examples|
|00000080| 20 6f 66 20 75 73 69 6e | 67 20 22 76 6f 6c 61 74 | of usin|g "volat|
|00000090| 69 6c 65 22 3f 0a 44 61 | 74 65 3a 20 46 72 69 2c |ile"?.Da|te: Fri,|
|000000a0| 20 31 39 20 4a 61 6e 20 | 31 39 39 36 20 31 38 3a | 19 Jan |1996 18:|
|000000b0| 32 34 3a 32 34 20 47 4d | 54 0a 4f 72 67 61 6e 69 |24:24 GM|T.Organi|
|000000c0| 7a 61 74 69 6f 6e 3a 20 | 4a 65 74 20 50 72 6f 70 |zation: |Jet Prop|
|000000d0| 75 6c 73 69 6f 6e 20 4c | 61 62 6f 72 61 74 6f 72 |ulsion L|aborator|
|000000e0| 79 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 33 |y.Messag|e-ID: <3|
|000000f0| 30 66 66 64 66 35 66 2e | 39 38 34 38 37 31 31 40 |0ffdf5f.|9848711@|
|00000100| 6e 65 74 6c 69 6e 65 2d | 66 64 64 69 2e 6a 70 6c |netline-|fddi.jpl|
|00000110| 2e 6e 61 73 61 2e 67 6f | 76 3e 0a 52 65 66 65 72 |.nasa.go|v>.Refer|
|00000120| 65 6e 63 65 73 3a 20 3c | 34 64 6a 6f 6a 32 24 6d |ences: <|4djoj2$m|
|00000130| 72 31 40 70 6f 73 74 2e | 67 73 66 63 2e 6e 61 73 |r1@post.|gsfc.nas|
|00000140| 61 2e 67 6f 76 3e 0a 52 | 65 70 6c 79 2d 54 6f 3a |a.gov>.R|eply-To:|
|00000150| 20 6b 64 71 40 65 6d 6f | 72 79 69 2e 6a 70 6c 2e | kdq@emo|ryi.jpl.|
|00000160| 6e 61 73 61 2e 67 6f 76 | 0a 4e 4e 54 50 2d 50 6f |nasa.gov|.NNTP-Po|
|00000170| 73 74 69 6e 67 2d 48 6f | 73 74 3a 20 65 6d 6f 72 |sting-Ho|st: emor|
|00000180| 79 69 2e 6a 70 6c 2e 6e | 61 73 61 2e 67 6f 76 0a |yi.jpl.n|asa.gov.|
|00000190| 4d 69 6d 65 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |Mime-Ver|sion: 1.|
|000001a0| 30 0a 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 |0.Conten|t-Type: |
|000001b0| 74 65 78 74 2f 70 6c 61 | 69 6e 3b 20 63 68 61 72 |text/pla|in; char|
|000001c0| 73 65 74 3d 55 53 2d 41 | 53 43 49 49 0a 43 6f 6e |set=US-A|SCII.Con|
|000001d0| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|000001e0| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 58 2d 4e |coding: |7bit.X-N|
|000001f0| 65 77 73 72 65 61 64 65 | 72 3a 20 46 6f 72 74 65 |ewsreade|r: Forte|
|00000200| 20 41 67 65 6e 74 20 2e | 39 39 63 2f 31 36 2e 31 | Agent .|99c/16.1|
|00000210| 34 31 0a 0a 49 74 27 73 | 20 6d 61 69 6e 6c 79 20 |41..It's| mainly |
|00000220| 66 6f 72 20 61 76 6f 69 | 64 69 6e 67 20 6f 70 74 |for avoi|ding opt|
|00000230| 69 6d 69 7a 61 74 69 6f | 6e 2d 63 61 75 73 65 64 |imizatio|n-caused|
|00000240| 20 70 72 6f 62 6c 65 6d | 73 2e 20 20 46 6f 72 20 | problem|s. For |
|00000250| 65 78 61 6d 70 6c 65 2c | 20 69 6e 20 74 68 69 73 |example,| in this|
|00000260| 0a 63 6f 64 65 20 74 68 | 61 74 20 77 61 69 74 73 |.code th|at waits|
|00000270| 20 66 6f 72 20 61 20 62 | 69 74 20 74 6f 20 62 65 | for a b|it to be|
|00000280| 20 73 65 74 20 69 6e 20 | 61 20 68 61 72 64 77 61 | set in |a hardwa|
|00000290| 72 65 20 72 65 67 69 73 | 74 65 72 3a 0a 0a 09 63 |re regis|ter:...c|
|000002a0| 68 61 72 20 2a 57 61 69 | 74 46 6f 72 49 74 20 3d |har *Wai|tForIt =|
|000002b0| 20 30 78 44 45 41 44 42 | 45 45 46 4c 3b 0a 2e 2e | 0xDEADB|EEFL;...|
|000002c0| 2e 0a 09 77 68 69 6c 65 | 20 28 20 21 28 2a 57 61 |...while| ( !(*Wa|
|000002d0| 69 74 46 6f 72 49 74 20 | 26 20 54 68 65 42 69 74 |itForIt |& TheBit|
|000002e0| 54 6f 57 61 74 63 68 29 | 29 0a 09 09 3b 0a 0a 61 |ToWatch)|)...;..a|
|000002f0| 20 6e 6f 6e 2d 6f 70 74 | 69 6d 69 7a 69 6e 67 20 | non-opt|imizing |
|00000300| 63 6f 6d 70 69 6c 65 72 | 20 77 6f 75 6c 64 20 64 |compiler| would d|
|00000310| 6f 20 73 6f 6d 65 74 68 | 69 6e 67 20 6c 69 6b 65 |o someth|ing like|
|00000320| 3a 0a 0a 6c 6f 6f 70 3a | 0a 20 67 65 74 20 61 64 |:..loop:|. get ad|
|00000330| 64 72 65 73 73 20 69 6e | 20 57 61 69 74 46 6f 72 |dress in| WaitFor|
|00000340| 49 74 0a 20 75 73 65 20 | 74 68 61 74 20 61 64 64 |It. use |that add|
|00000350| 72 65 73 73 20 74 6f 20 | 66 65 74 63 68 20 61 20 |ress to |fetch a |
|00000360| 62 79 74 65 20 69 6e 20 | 61 20 72 65 67 69 73 74 |byte in |a regist|
|00000370| 65 72 0a 20 74 65 73 74 | 20 74 68 65 20 73 70 65 |er. test| the spe|
|00000380| 63 69 66 69 65 64 20 62 | 69 74 0a 20 62 61 63 6b |cified b|it. back|
|00000390| 20 74 6f 20 6c 6f 6f 70 | 20 69 66 20 62 69 74 20 | to loop| if bit |
|000003a0| 6e 6f 74 20 73 65 74 0a | 0a 41 6e 20 6f 70 74 69 |not set.|.An opti|
|000003b0| 6d 69 7a 69 6e 67 20 63 | 6f 6d 70 69 6c 65 72 20 |mizing c|ompiler |
|000003c0| 69 73 20 76 65 72 79 20 | 73 6d 61 72 74 20 61 6e |is very |smart an|
|000003d0| 64 20 77 69 6c 6c 20 72 | 65 61 6c 69 7a 65 20 74 |d will r|ealize t|
|000003e0| 68 61 74 20 6e 65 69 74 | 68 65 72 20 74 68 65 0a |hat neit|her the.|
|000003f0| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |contents| of the |
|00000400| 70 6f 69 6e 74 65 72 20 | 6e 6f 72 20 77 68 61 74 |pointer |nor what|
|00000410| 20 69 74 20 70 6f 69 6e | 74 73 20 74 6f 20 69 73 | it poin|ts to is|
|00000420| 20 62 65 69 6e 67 20 63 | 68 61 6e 67 65 64 20 69 | being c|hanged i|
|00000430| 6e 20 74 68 65 20 6c 6f | 6f 70 2c 0a 61 6e 64 20 |n the lo|op,.and |
|00000440| 77 69 6c 6c 20 67 65 6e | 65 72 61 74 65 20 63 6f |will gen|erate co|
|00000450| 64 65 20 6c 69 6b 65 3a | 0a 0a 20 67 65 74 20 61 |de like:|.. get a|
|00000460| 64 64 72 65 73 73 20 69 | 6e 20 57 61 69 74 46 6f |ddress i|n WaitFo|
|00000470| 72 49 74 0a 20 75 73 65 | 20 74 68 61 74 20 61 64 |rIt. use| that ad|
|00000480| 64 72 65 73 73 20 74 6f | 20 66 65 74 63 68 20 61 |dress to| fetch a|
|00000490| 20 62 79 74 65 20 69 6e | 20 61 20 72 65 67 69 73 | byte in| a regis|
|000004a0| 74 65 72 0a 6c 6f 6f 70 | 3a 0a 20 74 65 73 74 20 |ter.loop|:. test |
|000004b0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 62 69 |the spec|ified bi|
|000004c0| 74 0a 20 62 61 63 6b 20 | 74 6f 20 6c 6f 6f 70 20 |t. back |to loop |
|000004d0| 69 66 20 62 69 74 20 6e | 6f 74 20 73 65 74 0a 0a |if bit n|ot set..|
|000004e0| 73 6f 20 77 65 20 65 6e | 64 20 75 70 20 77 61 69 |so we en|d up wai|
|000004f0| 74 69 6e 67 20 66 6f 72 | 65 76 65 72 20 69 66 20 |ting for|ever if |
|00000500| 74 68 65 20 62 69 74 20 | 69 73 6e 27 74 20 61 6c |the bit |isn't al|
|00000510| 72 65 61 64 79 20 73 65 | 74 2e 20 20 42 79 20 64 |ready se|t. By d|
|00000520| 65 63 6c 61 72 69 6e 67 | 0a 57 61 69 74 46 6f 72 |eclaring|.WaitFor|
|00000530| 49 74 20 61 73 20 61 20 | 76 6f 6c 61 74 69 6c 65 |It as a |volatile|
|00000540| 20 63 68 61 72 20 2a 2c | 20 74 68 65 20 6f 70 74 | char *,| the opt|
|00000550| 69 6d 69 7a 65 72 20 6b | 6e 6f 77 73 20 74 68 61 |imizer k|nows tha|
|00000560| 74 20 74 68 65 20 62 79 | 74 65 20 6d 75 73 74 20 |t the by|te must |
|00000570| 62 65 0a 66 65 74 63 68 | 65 64 20 65 61 63 68 20 |be.fetch|ed each |
|00000580| 74 69 6d 65 20 74 68 72 | 6f 75 67 68 20 74 68 65 |time thr|ough the|
|00000590| 20 6c 6f 6f 70 2c 20 61 | 6e 64 20 6d 61 6b 65 73 | loop, a|nd makes|
|000005a0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 | the fol|lowing t|
|000005b0| 72 69 76 69 61 6c 20 63 | 68 61 6e 67 65 3a 0a 0a |rivial c|hange:..|
|000005c0| 20 67 65 74 20 61 64 64 | 72 65 73 73 20 69 6e 20 | get add|ress in |
|000005d0| 57 61 69 74 46 6f 72 49 | 74 0a 6c 6f 6f 70 3a 0a |WaitForI|t.loop:.|
|000005e0| 20 75 73 65 20 74 68 61 | 74 20 61 64 64 72 65 73 | use tha|t addres|
|000005f0| 73 20 74 6f 20 66 65 74 | 63 68 20 61 20 62 79 74 |s to fet|ch a byt|
|00000600| 65 20 69 6e 20 61 20 72 | 65 67 69 73 74 65 72 0a |e in a r|egister.|
|00000610| 20 74 65 73 74 20 74 68 | 65 20 73 70 65 63 69 66 | test th|e specif|
|00000620| 69 65 64 20 62 69 74 0a | 20 62 61 63 6b 20 74 6f |ied bit.| back to|
|00000630| 20 6c 6f 6f 70 20 69 66 | 20 62 69 74 20 6e 6f 74 | loop if| bit not|
|00000640| 20 73 65 74 0a 0a 41 20 | 73 6d 61 6c 6c 20 65 6e | set..A |small en|
|00000650| 6f 75 67 68 20 63 68 61 | 6e 67 65 2c 20 62 75 74 |ough cha|nge, but|
|00000660| 20 6e 6f 77 20 74 68 65 | 20 63 6f 64 65 20 77 69 | now the| code wi|
|00000670| 6c 6c 20 77 6f 72 6b 20 | 61 73 20 61 64 76 65 72 |ll work |as adver|
|00000680| 74 69 73 65 64 2e 0a 0a | 2d 2d 20 0a 23 69 6e 63 |tised...|-- .#inc|
|00000690| 6c 75 64 65 20 3c 73 74 | 61 6e 64 61 72 64 2e 64 |lude <st|andard.d|
|000006a0| 69 73 63 6c 61 69 6d 65 | 72 3e 20 20 20 20 20 20 |isclaime|r> |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 68 74 74 | | htt|
|000006c0| 70 3a 2f 2f 65 6d 6f 72 | 79 69 2e 6a 70 6c 2e 6e |p://emor|yi.jpl.n|
|000006d0| 61 73 61 2e 67 6f 76 2f | 0a 20 5f 0a 4b 65 76 69 |asa.gov/|. _.Kevi|
|000006e0| 6e 20 44 20 51 75 69 74 | 74 20 20 55 53 41 20 39 |n D Quit|t USA 9|
|000006f0| 31 33 35 31 2d 34 34 35 | 34 20 20 20 20 20 20 20 |1351-445|4 |
|00000700| 20 20 20 20 39 36 2e 33 | 37 25 20 6f 66 20 61 6c | 96.3|7% of al|
|00000710| 6c 20 73 74 61 74 69 73 | 74 69 63 73 20 61 72 65 |l statis|tics are|
|00000720| 20 6d 61 64 65 20 75 70 | 0a | made up|. |
+--------+-------------------------+-------------------------+--------+--------+